gtktexthandle: Refactor and use native surfaces
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 3 Feb 2020 14:59:49 +0000 (15:59 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 20 Mar 2020 14:52:19 +0000 (15:52 +0100)
commit0264a64f291d429e9dfc587e132f55ad079e7851
tree19fc3895785cea543649db10923245530a901afa
parent2747dd5c9fb9f212e916dbf842202b1845e3929f
gtktexthandle: Refactor and use native surfaces

Instead of being a GObject managing two GtkWidgets, make GtkTextHandle
a GtkWidget subclass, representing a single handle.

From the perspective of users (GtkText and GtkTextView), this is not a
big leap since they have to be aware of a great deal of text handles'
state. It actually makes things more direct and simple.

With text handles being widgets, those can be actual children of the
widget, and may have their own GdkSurface that we move around at will.
This is the second major aspect of this refactor.
gtk/gtktext.c
gtk/gtktexthandle.c
gtk/gtktexthandleprivate.h
gtk/gtktextview.c